DefaultLocalCharacteristicWrapper

Constructors

Link copied to clipboard
constructor(characteristic: BluetoothGattCharacteristic)
constructor(uuid: UUID, properties: Set<CharacteristicProperty>, encryptedNotification: Boolean, permissions: Set<LocalCharacteristic.Permission>)

Properties

Link copied to clipboard
open override val identity: AttributeIdentity

Identity used to correlate this characteristic with incoming GATT callbacks.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val uuid: UUID

Functions

Link copied to clipboard
open override fun addDescriptor(descriptor: LocalDescriptorWrapper)

Adds a LocalDescriptorWrapper to the characteristic

Link copied to clipboard
open override fun addToService(service: BluetoothGattService)

Adds the characteristic to a BluetoothGattService

Link copied to clipboard
open override fun notify(gattServer: BluetoothGattServer, device: BluetoothDevice, value: ByteArray, indicate: Boolean): Boolean

Notifies a BluetoothDevice of a new value through a BluetoothGattServer